class ReimbursementApprovalFiQuery:
    def __init__(self, reimbursement_approval_fi_id=None, reimbursement_id=None, payment=None, finance_id=None,
                 date=None):
        self.reimbursement_approval_fi_id = reimbursement_approval_fi_id
        self.reimbursement_id = reimbursement_id
        self.payment = payment
        self.finance_id = finance_id
        self.date = date

    def to_dict(self):
        return {
            'reimbursement_approval_fi_id': self.reimbursement_approval_fi_id,
            'reimbursement_id': self.reimbursement_id,
            'payment': self.payment,
            'finance_id': self.finance_id,
            'date': self.date.isoformat() if self.date else None
        }
